package com.onpositive.funkytable.test;

import java.util.ArrayList;

import com.onpositive.funkytable.model.ICompositeModelElement;
import com.onpositive.funkytable.model.IModelElement;

public class SpecificationPart implements ICompositeModelElement{

	protected String title;
	
	protected ArrayList<PropertyValue>properties=new ArrayList<PropertyValue>();

	@Override
	public String title() {
		return title;
	}

	@Override
	public Object value() {
		return properties;
	}

	@Override
	public IModelElement[] children() {
		return properties.toArray(new IModelElement[properties.size()]);
	}

	@Override
	public boolean needsLabel() {
		return true;
	}
	
}
